package com.ctsi.commons.util.factory;

 
 

import com.ctsi.commons.util.ObjectType;
/**
 * 默认实现
 * @author yueming
 *
 */
public class DefaultObjectFact implements ObjectFact  {
    @Override
	public Object createObject(String classLey) {
		try {
			return  ObjectType.getInstance(classLey);
		} catch ( Exception e) {
            throw new RuntimeException(e);
		}  
	}

}
